﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OpGen.Compiler.Parser
{


    /// <summary>
    /// Stellt einen Fehler dar
    /// </summary>
    public class MessageItem
    {
        /// <summary>
        /// Liefert den Fehlertyp
        /// </summary>
        public MessageTypes MessageType { get; internal set; }

        /// <summary>
        /// Liefert den Meldungstext
        /// </summary>
        public string Message { get; internal set; }

        /// <summary>
        /// Liefert die Zeile
        /// </summary>
        public int Row { get; internal set; }

        /// <summary>
        /// Liefert die Quellcode Datei
        /// </summary>
        public string Filename { get; internal set; }
    }
}
